<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJspAAA.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <script src="backgroundManager/js/jquery-1.4.4.js" type="text/javascript"></script>
  <script type="text/javascript">
  	function aaax(){
  		$.ajax({
    	type: "post",
    	url: "price_addPriceForChannel.action", 
    	data: $("#form1").serialize(),
    	success: function(msg){
    		alert("A");
    	} //操作成功后的操作！msg是后台传过来的值  
    	});
  	};
  </script>
  <body>
    <form id="form1" action="" method="post" >
    	<input type="text" name="aaa" value="" /><!-- aaa[3][] -->
    	<input type="text" name="aaa" value="" />
    	<input type="text" name="aaa" value="" />
    	<input type="text" name="aaa[0]" value="aaaaa0" />
    	<input type="text" name="aaa[0]" value="aaaaa000" />
    	<input type="text" name="aaa[1]" value="aaaaa1" />
    	<input type="text" name="aaa[1]" value="aaaaa111" />
    	<input type="text" name="aaa[2]" value="aaaaa2" />
    	<input type="text" name="aaa[2]" value="aaaaa222" />
    </form>
    <button onclick="aaax()">aa</button>
  </body>
</html>
